package cn.ittaoli.ajax.dao;

import cn.ittaoli.ajax.model.Article;
import cn.ittaoli.ajax.model.ArticleContent;

import java.util.List;

public interface ArticleContentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ArticleContent record);

    int insertSelective(ArticleContent record);

    ArticleContent selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ArticleContent record);

    int updateByPrimaryKeyWithBLOBs(ArticleContent record);

    int updateByPrimaryKey(ArticleContent record);

    List<Article> getAll();

    ArticleContent selectByArticleId(Integer id);
}